from manimlib import*

class frac(Scene):
    def construct(self):
        block1 = SVGMobject("mur").set_height(6)
        self.add(block1)
        group = VGroup(block1)
        self.add(group)
        for i in range(6):
            group.scale(0.5,about_point=UL*3)
            obj2 = group.copy()
            obj2.move_to(UR * 1.5)
            obj3 = group.copy()
            obj3.move_to(DL * 1.5)
            obj4 = group.copy()
            obj4.move_to(DR * 3)
            for sq in obj4:
                sq.set_opacity((sq.get_opacity()+1)%2)
            group.add(*obj2)
            group.add(*obj3)
            group.add(*obj4)
            